//
//  DetailBottomToolBar.m
//  quanminzhekou
//
//  Created by zxl on 15/1/8.
//  Copyright (c) 2015年 zhongqinglongtu. All rights reserved.
//

#import "DetailBottomToolBar.h"

@implementation DetailBottomToolBar

#pragma mark - 
- (IBAction)onTapBackBtn:(UIButton*)sender {
    if (self.backBtnHandler) {
        self.backBtnHandler(sender);
    }
}

- (IBAction)onTapLeftBtn:(UIButton*)sender {
    if (self.leftBtnHandler) {
        self.leftBtnHandler(sender);
    }
}

- (IBAction)onTapRightBtn:(UIButton*)sender {
    if (self.rightBtnHandler) {
        self.rightBtnHandler(sender);
    }
}

- (IBAction)onTapCollectBtn:(UIButton*)sender {
    if (self.collectBtnHandler) {
        self.collectBtn.selected = !self.collectBtn.selected;
        self.collectBtnHandler(sender);
    }
}

- (IBAction)onTapShareBtn:(UIButton*)sender {
    if (self.shareBtnHandler) {
        self.shareBtnHandler(sender);
    }
}

@end
